package org.itboys.core.entity.mysql;

import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/20
 * Description:积分记录表
 */

public class SundayScoreRecord extends BaseMySqlEntity {
    private Long       memberId;//用户id
    private Long       scoreId;//关联单据id
    private BigDecimal score;//积分值(用来加减的)
    private String     cause;//产生原因
    private String     remark;//备注

    public SundayScoreRecord() {
    }

    public SundayScoreRecord(Long memberId, Long scoreId, BigDecimal score, String cause, String remark) {
        this.memberId = memberId;
        this.scoreId = scoreId;
        this.score = score;
        this.cause = cause;
        this.remark = remark;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getScoreId() {
        return scoreId;
    }

    public void setScoreId(Long scoreId) {
        this.scoreId = scoreId;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
